package kr.pe.osdev.domain;

import java.util.List;

import kr.pe.osdev.annotation.PrintToString;

public class Question extends BaseObject {

	private static final long serialVersionUID = 352407741123274567L;

	@PrintToString
	private String sid;
	@PrintToString
	private String pid;
	@PrintToString
	private String question;
	@PrintToString
	private String grade;
	@PrintToString
	private String example;
	@PrintToString
	private String patternCode;
	@PrintToString
	private String hearingYn;
	@PrintToString
	private String classification;
	@PrintToString
	private String state;
	@PrintToString
	private String shareYn;
	@PrintToString
	private String userSid;
	@PrintToString
	private String modifyDate;
	@PrintToString
	private String modifyTime;
	@PrintToString
	private String registerDate;
	@PrintToString
	private String registerTime;
	@PrintToString
	private String useYn;
	@PrintToString
	private Answer answer;
	@PrintToString
	private List<Item> itemList;
	@PrintToString
	private Commentary commentary;

	public Question() {
	}

	public Question(String sid) {
		this.sid = sid;
	}

	public Question(String sid, String pid) {
		this.sid = sid;
		this.pid = pid;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getExample() {
		return example;
	}

	public void setExample(String example) {
		this.example = example;
	}

	public String getPatternCode() {
		return patternCode;
	}

	public void setPatternCode(String patternCode) {
		this.patternCode = patternCode;
	}

	public String getHearingYn() {
		return hearingYn;
	}

	public void setHearingYn(String hearingYn) {
		this.hearingYn = hearingYn;
	}

	public String getClassification() {
		return classification;
	}

	public void setClassification(String classification) {
		this.classification = classification;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getShareYn() {
		return shareYn;
	}

	public void setShareYn(String shareYn) {
		this.shareYn = shareYn;
	}

	public String getUserSid() {
		return userSid;
	}

	public void setUserSid(String userSid) {
		this.userSid = userSid;
	}

	public String getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(String modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getRegisterDate() {
		return registerDate;
	}

	public void setRegisterDate(String registerDate) {
		this.registerDate = registerDate;
	}

	public String getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(String registerTime) {
		this.registerTime = registerTime;
	}

	public String getUseYn() {
		return useYn;
	}

	public void setUseYn(String useYn) {
		this.useYn = useYn;
	}
	
	public Answer getAnswer() {
		return answer;
	}
	
	public void setAnswer(Answer answer) {
		this.answer = answer;
	}

	public List<Item> getItemList() {
		return itemList;
	}

	public void setItemList(List<Item> itemList) {
		this.itemList = itemList;
	}

	public Commentary getCommentary() {
		return commentary;
	}
	
	public void setCommentary(Commentary commentary) {
		this.commentary = commentary;
	}
}